﻿using Newtonsoft.Json;
using System.Web;
using Easy.BLL;
using Easy.Operation;

namespace Easy.Web.Service.Data
{
    /// <summary>
    /// GetListData 的摘要说明
    /// </summary>
    public class GetEntityLinkList : BaseHttpHandler
    {

        public override void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            string Entity = context.Request.Params["entityname"];
            FormBaseBLL fbl = new FormBaseBLL(Entity);
            context.Response.Write(JsonConvert.SerializeObject(fbl.getEntityLinkByUser(CurrentUserId)));
        }
    }
}